<%@page import="model.VUser"%>
<%@page import="persistent.impl.UserDAOImpl"%>
<%@page import="persistent.dao.UserDAO"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/topmenu.css" rel = "stylesheet" type="text/css"/>
</head>
<body>
	<div id="sysmenu">
<span class="title">旅游博文</span>
<c:if test="${loginuser==null || loginuser.userid==null }">
<a href="addnormaluser.jsp" title="">注册</a>
<a href="login.jsp"title="">登录</a>
</c:if>
<c:if test="${loginuser!=null && loginuser.usertype==1 }">
<a href="logout"title="">退出登录</a>
<a href="modifypwd.html" title="">修改密码</a>
<a href="addblogeruser.do?userid=${loginuser.userid}" title="">成为博主</a>
<span class="but1">用户：${loginuser.nickname}</span>
</c:if>
<c:if test="${loginuser!=null && loginuser.usertype==2 }">
<a href="logout"title="">退出登录</a>
<a href="modifypwd.html" title="">修改密码</a>
<a href="editblogeruser.html"title="">我的信息</a>
<a href="editforum.do" title="">博文发表</a>
<span class="but1">博主： ${loginuser.nickname }</span>
</c:if>
<div class="line"></div>
<span class="but1">当前网站访问人数：${online_counter}人</span>
</div> <!-- end sysmenu -->
</body>
</html>